package com.easy.controller;

import com.easy.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {
    @Autowired
    TestService testS;

@RequestMapping("easytest")
@ResponseBody
public String easyTest(){
    System.out.println(testS.getClass());
   // testS.testa();
    testS.testa();
    return "easytest";
}
}
